package com.zsrt.java.day20161229.lh.day.demo05;

public class Car {
	private int price;
	private String brand;
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public Car(){
		System.out.println("无参构造方法");
	}
	
	public Car(int price, String brand) {
		super();
		this.price = price;
		this.brand = brand;
		System.out.println("有参数构造方法");
	}
	

}
